package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuhuan
 * @since 2019-01-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWAH_T")
public class Gwai810Export extends PO<Gwai810Export> {

    private static final long serialVersionUID = 1L;

    @Excel(name = "定价类型",replace = {"渠道价格_0","组合促销_1","非组合促销_2"})
    private String GWDC004;

    @Excel(name = "对象类型",replace = {"渠道_1","渠道商_2"})
    private String GWDB003;

    @Excel(name = "对象编号")
    private String GWDB012;

    @Excel(name = "对象名称")
    private String GWDB013;

    @Excel(name = "产品分类")
    private String GWAM007_NAME;

    @Excel(name = "产品系列")
    private String GWAM004_NAME;

    @Excel(name = "品号")
    private String GWAM001;

    @Excel(name = "品名")
    private String GWAML003;

    @Excel(name = "规格")
    private String GWAML004;

    @Excel(name = "单位")
    private String GWAM008;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效日期",exportFormat="yyyy-MM-dd")
    private LocalDate GWDB005;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "失效日期",exportFormat="yyyy-MM-dd")
    private LocalDate GWDB006;

    @Excel(name = "结算价")
    private String GWDB016;

    @Excel(name = "活动价")
    private String GWDC024;

    @Excel(name = "起订量")
    private String GWDC020;

    @Excel(name = "起订金额")
    private String GWDC021;

    @Excel(name = "活动编号")
    private String GWDC001;

    @Excel(name = "活动说明")
    private String GWDC003;

    @Excel(name = "促销方式")
    private String GWDC005;

    @Excel(name = "阶梯定价否",replace = {"裸价_1","特价_2","满额赠送_3","满量赠送_4"})
    private String GWDC022;

    @Override
    protected Serializable pkVal() {
        return serialVersionUID;
    }

}
